package com.xr.blog.service.impl;

import com.xr.blog.dao.BlogTagMapper;
import com.xr.blog.pojo.BlogTag;
import com.xr.blog.service.BlogTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;


@Service
public class BlogTagServiceImpl extends ServiceImpl<BlogTagMapper, BlogTag> implements BlogTagService {

    @Autowired
    BlogTagMapper tagMapper;
    @Override
    public List<BlogTag> findHotTags(Integer count) {
        return tagMapper.findHotTags(count);
    }
}